package com.ebj.demo.thrift.impl;

import com.ebj.demo.thrift.generate.HelloMartinService;
import org.apache.thrift.TException;

/**
 * Created by xiangyongzhou on 2017/7/5.
 */
public class HelloMartinImpl implements HelloMartinService.Iface
{
    @Override
    public String sayHello(String username)
            throws TException
    {
        return "Hello " + username + ", welcome to the magic thrift world!";
    }
}
